All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.Matrix

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.Responder
                   |
                   +----com.apple.alpha.app.View
                           |
                           +----com.apple.alpha.app.Control
                                   |
                                   +----com.apple.alpha.app.Matrix

public class Matrix
extends Control
This class wraps the Objective-C class NSMatrix.


Variable Index

 o HighlightMode
 o ListMode
 o RadioMode
 o TrackMode

Constructor Index

 o Matrix()
This default constructor is equivalent to Objective-C's [[NSMatrix alloc] init].
 o Matrix(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o Matrix(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o Matrix(Rect)
This constructor has the same effect as calling - initWithFrame: on a newly allocated object.
 o Matrix(Rect, int, Cell, int, int)
This constructor has the same effect as calling - initWithFrame:mode:prototype:numberOfRows:numberOfColumns: on a newly allocated object.

Method Index

 o acceptsFirstMouse(Event)
A wrapper for the - acceptsFirstMouse: Objective-C instance method.
 o addColumn()
A wrapper for the - addColumn Objective-C instance method.
 o addColumnWithCells(Array)
A wrapper for the - addColumnWithCells: Objective-C instance method.
 o addRow()
A wrapper for the - addRow Objective-C instance method.
 o addRowWithCells(Array)
A wrapper for the - addRowWithCells: Objective-C instance method.
 o allowsEmptySelection()
A wrapper for the - allowsEmptySelection Objective-C instance method.
 o autosizesCells()
A wrapper for the - autosizesCells Objective-C instance method.
 o backgroundColor()
A wrapper for the - backgroundColor Objective-C instance method.
 o cellAtLocation(int, int)
A wrapper for the - cellAtRow:column: Objective-C instance method.
 o cellBackgroundColor()
A wrapper for the - cellBackgroundColor Objective-C instance method.
 o cellFrameAtLocation(int, int)
A wrapper for the - cellFrameAtRow:column: Objective-C instance method.
 o cells()
A wrapper for the - cells Objective-C instance method.
 o cellSize()
A wrapper for the - cellSize Objective-C instance method.
 o cellWithTag(int)
A wrapper for the - cellWithTag: Objective-C instance method.
 o delegate()
A wrapper for the - delegate Objective-C instance method.
 o deselectAllCells()
A wrapper for the - deselectAllCells Objective-C instance method.
 o deselectSelectedCell()
A wrapper for the - deselectSelectedCell Objective-C instance method.
 o doubleAction()
A wrapper for the - doubleAction Objective-C instance method.
 o drawCellAtLocation(int, int)
A wrapper for the - drawCellAtRow:column: Objective-C instance method.
 o drawsBackground()
A wrapper for the - drawsBackground Objective-C instance method.
 o drawsCellBackground()
A wrapper for the - drawsCellBackground Objective-C instance method.
 o errorAction()
A wrapper for the - errorAction Objective-C instance method.
 o highlightCellAtLocation(boolean, int, int)
A wrapper for the - highlightCell:atRow:column: Objective-C instance method.
 o insertColumn(int)
A wrapper for the - insertColumn: Objective-C instance method.
 o insertColumnWithCells(int, Array)
A wrapper for the - insertColumn:withCells: Objective-C instance method.
 o insertRow(int)
A wrapper for the - insertRow: Objective-C instance method.
 o insertRowWithCells(int, Array)
A wrapper for the - insertRow:withCells: Objective-C instance method.
 o intercellSpacing()
A wrapper for the - intercellSpacing Objective-C instance method.
 o isAutoscroll()
A wrapper for the - isAutoscroll Objective-C instance method.
 o isSelectionByRect()
A wrapper for the - isSelectionByRect Objective-C instance method.
 o keyCell()
A wrapper for the - keyCell Objective-C instance method.
 o makeCellAtLocation(int, int)
A wrapper for the - makeCellAtRow:column: Objective-C instance method.
 o mode()
A wrapper for the - mode Objective-C instance method.
 o mouseDown(Event)
A wrapper for the - mouseDown: Objective-C instance method.
 o mouseDownFlags()
A wrapper for the - mouseDownFlags Objective-C instance method.
 o nextText()
A wrapper for the - nextText Objective-C instance method.
 o numberOfColumns()
A wrapper for the - numberOfColumns Objective-C instance method.
 o numberOfRows()
A wrapper for the - numberOfRows Objective-C instance method.
 o performKeyEquivalent(Event)
A wrapper for the - performKeyEquivalent: Objective-C instance method.
 o previousText()
A wrapper for the - previousText Objective-C instance method.
 o prototype()
A wrapper for the - prototype Objective-C instance method.
 o putCellAtLocation(Cell, int, int)
A wrapper for the - putCell:atRow:column: Objective-C instance method.
 o removeColumn(int)
A wrapper for the - removeColumn: Objective-C instance method.
 o removeRow(int)
A wrapper for the - removeRow: Objective-C instance method.
 o renewRowsAndColumns(int, int)
A wrapper for the - renewRows:columns: Objective-C instance method.
 o resetCursorRects()
A wrapper for the - resetCursorRects Objective-C instance method.
 o scrollCellAtLocationToVisible(int, int)
A wrapper for the - scrollCellToVisibleAtRow:column: Objective-C instance method.
 o selectAll(Object)
A wrapper for the - selectAll: Objective-C instance method.
 o selectCellAtLocation(int, int)
A wrapper for the - selectCellAtRow:column: Objective-C instance method.
 o selectCellWithTag(int)
A wrapper for the - selectCellWithTag: Objective-C instance method.
 o selectedCell()
A wrapper for the - selectedCell Objective-C instance method.
 o selectedCells()
A wrapper for the - selectedCells Objective-C instance method.
 o selectedColumn()
A wrapper for the - selectedColumn Objective-C instance method.
 o selectedRow()
A wrapper for the - selectedRow Objective-C instance method.
 o selectText(Object)
A wrapper for the - selectText: Objective-C instance method.
 o selectTextAtLocation(int, int)
A wrapper for the - selectTextAtRow:column: Objective-C instance method.
 o sendAction()
A wrapper for the - sendAction Objective-C instance method.
 o sendActionToTargetForAllCells(Selector, Object, boolean)
A wrapper for the - sendAction:to:forAllCells: Objective-C instance method.
 o sendDoubleAction()
A wrapper for the - sendDoubleAction Objective-C instance method.
 o setAllowsEmptySelection(boolean)
A wrapper for the - setAllowsEmptySelection: Objective-C instance method.
 o setAutoscroll(boolean)
A wrapper for the - setAutoscroll: Objective-C instance method.
 o setAutosizesCells(boolean)
A wrapper for the - setAutosizesCells: Objective-C instance method.
 o setBackgroundColor(Color)
A wrapper for the - setBackgroundColor: Objective-C instance method.
 o setCellBackgroundColor(Color)
A wrapper for the - setCellBackgroundColor: Objective-C instance method.
 o setCellSize(Size)
A wrapper for the - setCellSize: Objective-C instance method.
 o setDelegate(Object)
A wrapper for the - setDelegate: Objective-C instance method.
 o setDoubleAction(Selector)
A wrapper for the - setDoubleAction: Objective-C instance method.
 o setDrawsBackground(boolean)
A wrapper for the - setDrawsBackground: Objective-C instance method.
 o setDrawsCellBackground(boolean)
A wrapper for the - setDrawsCellBackground: Objective-C instance method.
 o setErrorAction(Selector)
A wrapper for the - setErrorAction: Objective-C instance method.
 o setIntercellSpacing(Size)
A wrapper for the - setIntercellSpacing: Objective-C instance method.
 o setKeyCell(Cell)
A wrapper for the - setKeyCell: Objective-C instance method.
 o setMode(int)
A wrapper for the - setMode: Objective-C instance method.
 o setNextText(Object)
A wrapper for the - setNextText: Objective-C instance method.
 o setPreviousText(Object)
A wrapper for the - setPreviousText: Objective-C instance method.
 o setPrototype(Cell)
A wrapper for the - setPrototype: Objective-C instance method.
 o setScrollable(boolean)
A wrapper for the - setScrollable: Objective-C instance method.
 o setSelectionByRect(boolean)
A wrapper for the - setSelectionByRect: Objective-C instance method.
 o setSelectionWithAnchor(int, int, int, boolean)
A wrapper for the - setSelectionFrom:to:anchor:highlight: Objective-C instance method.
 o setStateAtLocation(int, int, int)
A wrapper for the - setState:atRow:column: Objective-C instance method.
 o setTabKeyTraversesCells(boolean)
A wrapper for the - setTabKeyTraversesCells: Objective-C instance method.
 o setValidateSize(boolean)
A wrapper for the - setValidateSize: Objective-C instance method.
 o sizeToCells()
A wrapper for the - sizeToCells Objective-C instance method.
 o sortUsingMethod(Selector)
A wrapper for the - sortUsingSelector: Objective-C instance method.
 o tabKeyTraversesCells()
A wrapper for the - tabKeyTraversesCells Objective-C instance method.
 o textDidBeginEditing(Notification)
A wrapper for the - textDidBeginEditing: Objective-C instance method.
 o textDidChange(Notification)
A wrapper for the - textDidChange: Objective-C instance method.
 o textDidEndEditing(Notification)
A wrapper for the - textDidEndEditing: Objective-C instance method.
 o textShouldBeginEditing(Text)
A wrapper for the - textShouldBeginEditing: Objective-C instance method.
 o textShouldEndEditing(Text)
A wrapper for the - textShouldEndEditing: Objective-C instance method.

Variables

 o RadioMode
 public static final int RadioMode
 o HighlightMode
 public static final int HighlightMode
 o ListMode
 public static final int ListMode
 o TrackMode
 public static final int TrackMode

Constructors

 o Matrix
 protected Matrix(boolean shouldAllocate,
                  int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o Matrix
 public Matrix()
This default constructor is equivalent to Objective-C's [[NSMatrix alloc] init].

 o Matrix
 public Matrix(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

 o Matrix
 public Matrix(Rect frameRect)
This constructor has the same effect as calling - initWithFrame: on a newly allocated object.

 o Matrix
 public Matrix(Rect frameRect,
               int aMode,
               Cell aCell,
               int rowsHigh,
               int colsWide)
This constructor has the same effect as calling - initWithFrame:mode:prototype:numberOfRows:numberOfColumns: on a newly allocated object.

Methods

 o prototype
 public native Object prototype()
A wrapper for the - prototype Objective-C instance method.

 o setPrototype
 public native void setPrototype(Cell aCell)
A wrapper for the - setPrototype: Objective-C instance method.

 o makeCellAtLocation
 public native Cell makeCellAtLocation(int row,
                                       int col)
A wrapper for the - makeCellAtRow:column: Objective-C instance method.

 o mode
 public native int mode()
A wrapper for the - mode Objective-C instance method.

 o setMode
 public native void setMode(int aMode)
A wrapper for the - setMode: Objective-C instance method.

 o setAllowsEmptySelection
 public native void setAllowsEmptySelection(boolean flag)
A wrapper for the - setAllowsEmptySelection: Objective-C instance method.

 o allowsEmptySelection
 public native boolean allowsEmptySelection()
A wrapper for the - allowsEmptySelection Objective-C instance method.

 o sendActionToTargetForAllCells
 public native void sendActionToTargetForAllCells(Selector aSelector,
                                                  Object anObject,
                                                  boolean flag)
A wrapper for the - sendAction:to:forAllCells: Objective-C instance method.

 o cells
 public native Array cells()
A wrapper for the - cells Objective-C instance method.

 o sortUsingMethod
 public native void sortUsingMethod(Selector comparator)
A wrapper for the - sortUsingSelector: Objective-C instance method.

 o selectedCell
 public native Object selectedCell()
A wrapper for the - selectedCell Objective-C instance method.

Overrides:
selectedCell in class Control
 o selectedCells
 public native Array selectedCells()
A wrapper for the - selectedCells Objective-C instance method.

 o selectedRow
 public native int selectedRow()
A wrapper for the - selectedRow Objective-C instance method.

 o selectedColumn
 public native int selectedColumn()
A wrapper for the - selectedColumn Objective-C instance method.

 o setSelectionByRect
 public native void setSelectionByRect(boolean flag)
A wrapper for the - setSelectionByRect: Objective-C instance method.

 o isSelectionByRect
 public native boolean isSelectionByRect()
A wrapper for the - isSelectionByRect Objective-C instance method.

 o setSelectionWithAnchor
 public native void setSelectionWithAnchor(int startPos,
                                           int endPos,
                                           int anchorPos,
                                           boolean lit)
A wrapper for the - setSelectionFrom:to:anchor:highlight: Objective-C instance method.

 o deselectSelectedCell
 public native void deselectSelectedCell()
A wrapper for the - deselectSelectedCell Objective-C instance method.

 o deselectAllCells
 public native void deselectAllCells()
A wrapper for the - deselectAllCells Objective-C instance method.

 o selectCellAtLocation
 public native void selectCellAtLocation(int row,
                                         int col)
A wrapper for the - selectCellAtRow:column: Objective-C instance method.

 o selectAll
 public native void selectAll(Object sender)
A wrapper for the - selectAll: Objective-C instance method.

Overrides:
selectAll in class Responder
 o selectCellWithTag
 public native boolean selectCellWithTag(int anInt)
A wrapper for the - selectCellWithTag: Objective-C instance method.

 o cellSize
 public native Size cellSize()
A wrapper for the - cellSize Objective-C instance method.

 o setCellSize
 public native void setCellSize(Size aSize)
A wrapper for the - setCellSize: Objective-C instance method.

 o intercellSpacing
 public native Size intercellSpacing()
A wrapper for the - intercellSpacing Objective-C instance method.

 o setIntercellSpacing
 public native void setIntercellSpacing(Size aSize)
A wrapper for the - setIntercellSpacing: Objective-C instance method.

 o setScrollable
 public native void setScrollable(boolean flag)
A wrapper for the - setScrollable: Objective-C instance method.

 o setBackgroundColor
 public native void setBackgroundColor(Color color)
A wrapper for the - setBackgroundColor: Objective-C instance method.

 o backgroundColor
 public native Color backgroundColor()
A wrapper for the - backgroundColor Objective-C instance method.

 o setCellBackgroundColor
 public native void setCellBackgroundColor(Color color)
A wrapper for the - setCellBackgroundColor: Objective-C instance method.

 o cellBackgroundColor
 public native Color cellBackgroundColor()
A wrapper for the - cellBackgroundColor Objective-C instance method.

 o setDrawsCellBackground
 public native void setDrawsCellBackground(boolean flag)
A wrapper for the - setDrawsCellBackground: Objective-C instance method.

 o drawsCellBackground
 public native boolean drawsCellBackground()
A wrapper for the - drawsCellBackground Objective-C instance method.

 o setDrawsBackground
 public native void setDrawsBackground(boolean flag)
A wrapper for the - setDrawsBackground: Objective-C instance method.

 o drawsBackground
 public native boolean drawsBackground()
A wrapper for the - drawsBackground Objective-C instance method.

 o setStateAtLocation
 public native void setStateAtLocation(int value,
                                       int row,
                                       int col)
A wrapper for the - setState:atRow:column: Objective-C instance method.

 o numberOfRows
 public native int numberOfRows()
A wrapper for the - numberOfRows Objective-C instance method.

 o numberOfColumns
 public native int numberOfColumns()
A wrapper for the - numberOfColumns Objective-C instance method.

 o cellAtLocation
 public native Object cellAtLocation(int row,
                                     int col)
A wrapper for the - cellAtRow:column: Objective-C instance method.

 o cellFrameAtLocation
 public native Rect cellFrameAtLocation(int row,
                                        int col)
A wrapper for the - cellFrameAtRow:column: Objective-C instance method.

 o renewRowsAndColumns
 public native void renewRowsAndColumns(int newRows,
                                        int newCols)
A wrapper for the - renewRows:columns: Objective-C instance method.

 o putCellAtLocation
 public native void putCellAtLocation(Cell newCell,
                                      int row,
                                      int col)
A wrapper for the - putCell:atRow:column: Objective-C instance method.

 o addRow
 public native void addRow()
A wrapper for the - addRow Objective-C instance method.

 o addRowWithCells
 public native void addRowWithCells(Array newCells)
A wrapper for the - addRowWithCells: Objective-C instance method.

 o insertRow
 public native void insertRow(int row)
A wrapper for the - insertRow: Objective-C instance method.

 o insertRowWithCells
 public native void insertRowWithCells(int row,
                                       Array newCells)
A wrapper for the - insertRow:withCells: Objective-C instance method.

 o removeRow
 public native void removeRow(int row)
A wrapper for the - removeRow: Objective-C instance method.

 o addColumn
 public native void addColumn()
A wrapper for the - addColumn Objective-C instance method.

 o addColumnWithCells
 public native void addColumnWithCells(Array newCells)
A wrapper for the - addColumnWithCells: Objective-C instance method.

 o insertColumn
 public native void insertColumn(int column)
A wrapper for the - insertColumn: Objective-C instance method.

 o insertColumnWithCells
 public native void insertColumnWithCells(int column,
                                          Array newCells)
A wrapper for the - insertColumn:withCells: Objective-C instance method.

 o removeColumn
 public native void removeColumn(int col)
A wrapper for the - removeColumn: Objective-C instance method.

 o cellWithTag
 public native Object cellWithTag(int anInt)
A wrapper for the - cellWithTag: Objective-C instance method.

 o doubleAction
 public native Selector doubleAction()
A wrapper for the - doubleAction Objective-C instance method.

 o setDoubleAction
 public native void setDoubleAction(Selector aSelector)
A wrapper for the - setDoubleAction: Objective-C instance method.

 o errorAction
 public native Selector errorAction()
A wrapper for the - errorAction Objective-C instance method.

 o setErrorAction
 public native void setErrorAction(Selector aSelector)
A wrapper for the - setErrorAction: Objective-C instance method.

 o setAutosizesCells
 public native void setAutosizesCells(boolean flag)
A wrapper for the - setAutosizesCells: Objective-C instance method.

 o autosizesCells
 public native boolean autosizesCells()
A wrapper for the - autosizesCells Objective-C instance method.

 o sizeToCells
 public native void sizeToCells()
A wrapper for the - sizeToCells Objective-C instance method.

 o setValidateSize
 public native void setValidateSize(boolean flag)
A wrapper for the - setValidateSize: Objective-C instance method.

 o drawCellAtLocation
 public native void drawCellAtLocation(int row,
                                       int col)
A wrapper for the - drawCellAtRow:column: Objective-C instance method.

 o highlightCellAtLocation
 public native void highlightCellAtLocation(boolean flag,
                                            int row,
                                            int col)
A wrapper for the - highlightCell:atRow:column: Objective-C instance method.

 o setAutoscroll
 public native void setAutoscroll(boolean flag)
A wrapper for the - setAutoscroll: Objective-C instance method.

 o isAutoscroll
 public native boolean isAutoscroll()
A wrapper for the - isAutoscroll Objective-C instance method.

 o scrollCellAtLocationToVisible
 public native void scrollCellAtLocationToVisible(int row,
                                                  int col)
A wrapper for the - scrollCellToVisibleAtRow:column: Objective-C instance method.

 o mouseDownFlags
 public native int mouseDownFlags()
A wrapper for the - mouseDownFlags Objective-C instance method.

 o mouseDown
 public native void mouseDown(Event theEvent)
A wrapper for the - mouseDown: Objective-C instance method.

Overrides:
mouseDown in class Control
 o performKeyEquivalent
 public native boolean performKeyEquivalent(Event theEvent)
A wrapper for the - performKeyEquivalent: Objective-C instance method.

Overrides:
performKeyEquivalent in class View
 o sendAction
 public native boolean sendAction()
A wrapper for the - sendAction Objective-C instance method.

 o sendDoubleAction
 public native void sendDoubleAction()
A wrapper for the - sendDoubleAction Objective-C instance method.

 o delegate
 public native Object delegate()
A wrapper for the - delegate Objective-C instance method.

 o setDelegate
 public native void setDelegate(Object anObject)
A wrapper for the - setDelegate: Objective-C instance method.

 o textShouldBeginEditing
 public native boolean textShouldBeginEditing(Text textObject)
A wrapper for the - textShouldBeginEditing: Objective-C instance method.

 o textShouldEndEditing
 public native boolean textShouldEndEditing(Text textObject)
A wrapper for the - textShouldEndEditing: Objective-C instance method.

 o textDidBeginEditing
 public native void textDidBeginEditing(Notification notification)
A wrapper for the - textDidBeginEditing: Objective-C instance method.

 o textDidEndEditing
 public native void textDidEndEditing(Notification notification)
A wrapper for the - textDidEndEditing: Objective-C instance method.

 o textDidChange
 public native void textDidChange(Notification notification)
A wrapper for the - textDidChange: Objective-C instance method.

 o selectText
 public native void selectText(Object sender)
A wrapper for the - selectText: Objective-C instance method.

 o selectTextAtLocation
 public native Object selectTextAtLocation(int row,
                                           int col)
A wrapper for the - selectTextAtRow:column: Objective-C instance method.

 o setPreviousText
 public native void setPreviousText(Object anObject)
A wrapper for the - setPreviousText: Objective-C instance method.

 o setNextText
 public native void setNextText(Object anObject)
A wrapper for the - setNextText: Objective-C instance method.

 o nextText
 public native Object nextText()
A wrapper for the - nextText Objective-C instance method.

 o previousText
 public native Object previousText()
A wrapper for the - previousText Objective-C instance method.

 o acceptsFirstMouse
 public native boolean acceptsFirstMouse(Event theEvent)
A wrapper for the - acceptsFirstMouse: Objective-C instance method.

Overrides:
acceptsFirstMouse in class View
 o resetCursorRects
 public native void resetCursorRects()
A wrapper for the - resetCursorRects Objective-C instance method.

Overrides:
resetCursorRects in class View
 o setTabKeyTraversesCells
 public native void setTabKeyTraversesCells(boolean flag)
A wrapper for the - setTabKeyTraversesCells: Objective-C instance method.

 o tabKeyTraversesCells
 public native boolean tabKeyTraversesCells()
A wrapper for the - tabKeyTraversesCells Objective-C instance method.

 o setKeyCell
 public native void setKeyCell(Cell keyCell)
A wrapper for the - setKeyCell: Objective-C instance method.

 o keyCell
 public native Object keyCell()
A wrapper for the - keyCell Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index